class CreateProductPropertyGroups < ActiveRecord::Migration
  def change
    create_table :product_property_groups, :force => true do |t|
      t.references :viewable, :null => false
      t.string     :viewable_type, :limit => 50, :null => false
    end

    add_index :product_property_groups, :viewable_id
  end
end